@Service
public class UserService implements UserDetailsService {
    // ...
    public void sendConfirmationCode(
        RegisterPayload registerPayload) {
        // ...
        rabbitTemplate.convertAndSend(
            RabbitConfig.DEFAULT_DIRECT_EXCHANGE,
            RabbitConfig.MAIL_QUEUE, map);
        // ...
    }
}
